package com.xiaomi.front.service.malltype;

import com.xiaomi.front.dao.Malltype.MalltypeDao;
import com.xiaomi.pojo.Malltype;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MalltypeServiceImpl implements MalltypeService {

    @Autowired
    private MalltypeDao malltypeDao;

    //查询商品类型
    @Override
    public List<Malltype> MalltypeAll() {
        return malltypeDao.MalltypeAll();
    }
}
